<?php
/**
* Fixes the count of number of images under an album
*/

$albums = new albums();
$album_id = $variable->get('id', 'integer', 0);
$code = $variable->get('code', 'string', '');

$albums->fix_counter($album_id, $code);

$messenger = new messenger('notice', 'Images counter corrected in the selected album');

stopper::url('albums-list.php');
?>